using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Shpm.App.Commons.Db.Beans.Inp;

/// <summary>
/// Summary description for ContractDetailBean
/// </summary>
namespace Shpm.App.Input.Bean
{
    [Serializable()]
    public class ContractDetailBean : InpSaleProcBean
    {
        private string relationSexText;

        private string contractCode;
        private string contractApartmentNo;
        private Nullable<DateTime> beginDate;
        private Nullable<DateTime> endDate;
        private Nullable<DateTime> signDate;
        private Nullable<int> docId;
        private Nullable<decimal> deposit = 0;
        private Nullable<int> depositLimit;
        private DateTime depositDate;
        private Nullable<bool> depositFlg = false;
        private Nullable<decimal> memberExpense = 0;
        private Nullable<decimal> rent = 0;
        private Nullable<int> rentMultiple = 3;
        private Nullable<decimal> foregift = 0;
        private Nullable<decimal> yearExpense = 0;



        private string nameC;
        private string sex;
        private string sexText;
        private string card;
        private string native;
        private string cardTypeText;


        private string memberType;
        private string feeType;
        private string zone;
        private string property;

        private Nullable<int> organizationId;
        private string organizationName;
        private string organizationType;
        private string juridicalPerson;
        private string address;

        public ContractDetailBean()
        {
            //
            // TODO: Add constructor logic here
            //
        }

        public string RelationSexText
        {
            get
            {
                return relationSexText;
            }
            set
            {
                relationSexText = value;
            }
        }
        public string ContractCode
        {
            get
            {
                return contractCode;
            }
            set
            {
                contractCode = value;
            }
        }


        public string ContractApartmentNo
        {
            get
            {
                return contractApartmentNo;
            }
            set
            {
                contractApartmentNo = value;
            }
        }

        public Nullable<DateTime> BeginDate
        {
            get
            {
                return beginDate;
            }
            set
            {
                beginDate = value;
            }
        }

        public Nullable<DateTime> EndDate
        {
            get
            {
                return endDate;
            }
            set
            {
                endDate = value;
            }
        }

        public Nullable<DateTime> SignDate
        {
            get
            {
                return signDate;
            }
            set
            {
                signDate = value;
            }
        }

        public Nullable<int> DocId
        {
            get
            {
                return docId;
            }
            set
            {
                docId = value;
            }
        }

        public Nullable<decimal> Deposit
        {
            get
            {
                return deposit;
            }
            set
            {
                deposit = value;
            }
        }


        public Nullable<int> DepositLimit
        {
            get
            {
                return depositLimit;
            }
            set
            {
                depositLimit = value;
            }
        }

        public DateTime DepositDate
        {
            get
            {
                return depositDate;
            }
            set
            {
                depositDate = value;
            }
        }

        public Nullable<bool> DepositFlg
        {
            get
            {
                return depositFlg;
            }
            set
            {
                depositFlg = value;
            }
        }

        public Nullable<decimal> MemberExpense
        {
            get
            {
                return memberExpense;
            }
            set
            {
                memberExpense = value;
            }
        }

        public Nullable<decimal> Rent
        {
            get
            {
                return rent;
            }
            set
            {
                rent = value;
            }
        }

        public Nullable<int> RentMultiple
        {
            get
            {
                return rentMultiple;
            }
            set
            {
                rentMultiple = value;
            }
        }

        public Nullable<decimal> Foregift
        {
            get
            {
                return foregift;
            }
            set
            {
                foregift = value;
            }
        }

        public Nullable<decimal> YearExpense
        {
            get
            {
                return yearExpense;
            }
            set
            {
                yearExpense = value;
            }
        }


        public string NameC
        {
            get
            {
                return nameC;
            }
            set
            {
                nameC = value;
            }
        }
        public string Sex
        {
            get
            {
                return sex;
            }
            set
            {
                sex = value;
            }
        }
        public string SexText
        {
            get
            {
                return sexText;
            }
            set
            {
                sexText = value;
            }
        }
        public string Card
        {
            get
            {
                return card;
            }
            set
            {
                card = value;
            }
        }
        public string CardTypeText
        {
            get
            {
                return cardTypeText;
            }

            set
            {
                cardTypeText = value;
            }
        }
        public string Native
        {
            get
            {
                return native;
            }
            set
            {
                native = value;
            }
        }


        public string MemberType
        {
            get
            {
                return memberType;
            }
            set
            {
                memberType = value;
            }
        }
        public string FeeType
        {
            get
            {
                return feeType;
            }
            set
            {
                feeType = value;
            }
        }
        public string Zone
        {
            get
            {
                return zone;
            }
            set
            {
                zone = value;
            }
        }
        public string Property
        {
            get
            {
                return property;
            }
            set
            {
                property = value;
            }
        }
        public Nullable<int> OrganizationId
        {
            get
            {
                return organizationId;
            }
            set
            {
                organizationId = value;
            }
        }
        public string OrganizationName
        {
            get
            {
                return organizationName;
            }
            set
            {
                organizationName = value;
            }
        }
        public string OrganizationType
        {
            get
            {
                return organizationType;
            }
            set
            {
                organizationType = value;
            }
        }
        public string JuridicalPerson
        {
            get
            {
                return juridicalPerson;
            }
            set
            {
                juridicalPerson = value;
            }
        }
        public string Address
        {
            get
            {
                return address;
            }
            set
            {
                address = value;
            }
        }
    }
}